home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d27
/
rpgfree.arc
/
TSTIN2.RPF
< prev
next >
Wrap
Text File
|
1991-12-04
|
601b
|
33 lines
-- TSTIN2.RPF -- Test RPG/free input file 2
-- Note: This does NOT generate a compilable RPG III program
-- It just generates a file for comparison with TSTOUT.RPG
/DEFINE true '1'
/DEFINE numeric *IN77
/DEFINE not_numeric numeric <> true
DCL 0 sflrrn LEN(4 0)
TESTN prmdat ALLNUM(numeric) -- Check for valid date
IF not_numeric
savsys = 0
ENDIF
Total = Base * -- A two-line statement +
Rate
/EXEC SQL
SELECT *
FROM cust
WHERE custid = inputid
/END-EXEC
/FIX
12345C RETRN
/FREE
a = b - -3
/Data
**
Data line